# # 复制整行： Ctrl + D
# # 格式化：Ctrl + Alt + L
# # 整体标注：Ctrl + /
#
# # 1求出两数之和
# a = input("Please enter an integer: ")
# b = input("Please enter an integer: ")
# print(f"两数的和是{a + b}")
#
# # 2/3找出100以内的偶数/奇数并打印
#
# """1.while循环"""
# index = 0
# while index <= 100:
#     if index % 2 == 0:
#         print(f"100以内的偶数是:{index}")
#     else:
#         print(f"100以内的奇数是:{index}")
#     index += 1
#
# """2.for循环"""
# """range() 函数是左闭右开的"""
# for i in range(0, 101):
#     if i % 2 != 0:
#         print(f"100以内的奇数是:{i}")
#     else:
#         print(f"100以内的偶数是:{i}")
#     i += 1
#
# # 4判断素数100以内
# """除了1和它本身以外没有其他因子"""
# """
# 1.筛除偶数
# 2.奇数里能被 3，5，7整除的数筛掉
# 3.个位数特殊处理
# """
# print("=" * 50)
# for i in range(1, 101):
#     # 双数判断
#     if 1 <= i < 9:
#         if i % 2 != 0:
#             print(i)
#     elif i > 10:
#         if i % 2 != 0:
#             if i % 3 != 0 and i % 5 != 0 and i % 7 != 0:
#                 print(i)
# """没有啥编程思想，全是数理角度"""


# 5求阶乘 1-10
sum = 1
for i in range(1, 11):
    sum *= i
    print(sum)
